package cn.tedu.medicalpath.role.pojo.vo;

import cn.tedu.medicalpath.role.pojo.entity.Role;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;

import java.util.Date;

@Data
public class RoleVO {
    @ApiModelProperty(value = "角色ID")
    Integer id;

    @ApiModelProperty(value = "角色姓名")
    String name;

    @ApiModelProperty(value = "角色描述")
    String description;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @ApiModelProperty(value = "更新时间")
    Date updateTime;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @ApiModelProperty(value = "创建时间")
    Date createTime;

    @ApiModelProperty(value = "权限数组")
    String[] moduleRoute;

    public RoleVO() {}
}